package com.zyh;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;



@SpringBootApplication
/*@MapperScan注解指定当前项目中的mapper接口路径的位置，在项目启动的时候会自动加载所有的接口文件
 * */
@MapperScan("com.zyh.store.mapper")
public class ZyhApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZyhApplication.class, args);
    }

}
